-- GENERATED SPELL FOR [Ghostpaw Howler] --


function spell0_3824(pUnit, Event) --@Blood Howl,Self--
pUnit:FullCastSpellOnTarget(3264,pUnit)
pUnit:RegisterEvent('Sorts_3824', 16000, 1)
end

function Sorts_3824(pUnit, Event)
local choix_sorts_3824 = math.random(0, 0)
if choix_sorts_3824 == 0 then
pUnit:RegisterEvent('spell0_3824', 1, 1)
end
end

function mob3824_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3824', math.random(1500, 3000), 1)
end

function mob3824_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3824_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3824_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3824, 1, 'mob3824_Action')
RegisterUnitEvent(3824, 2, 'mob3824_Leave')
RegisterUnitEvent(3824, 3, 'mob3824_Kill')
RegisterUnitEvent(3824, 4, 'mob3824_Die')
